import { BaseService, Service } from '@/core';

@Service('app/wxjlj')
export default class extends BaseService {
    getUserInfo(params) {
        return this.request({
            url: '/getUserInfo',
            method: 'GET',
            params: params
        });
    }

    getSubsidiesAmount(params) {
        return this.request({
            url: '/getSubsidiesAmount',
            method: 'GET',
            params: params
        });
    }

    getConfig(params) {
        return this.request({
            url: '/getConfig',
            method: 'GET',
            params: params
        });
    }

    specialGoods(params) {
        return this.request({
            url: '/specialGoods',
            params
        });
    }

    getUserRecord(id) {
        return this.request({
            url: '/getUserRecord',
            params: {
                id
            }
        });
    }

    addUserSubsidies(params) {
        return this.request({
            url: '/addUserSubsidies',
            params: params
        });
    }
}
